Date Picker Element

The Date Picker Element allows the user to specify a date from a calendar-based interface:

Picture showing the Date Picker Calendar

At runtime, to enter a date or change the existing date, the user can click or tap the Calender button at the right-hand end of the Element to display a calendar dialog allowing them to locate and select the desired date:

Picture showing the Calendar Icon.

At the top of the calendar, you will see the current month and year (or the current Decade or current Year, depending on which of the Start View options have been selected - see below), with up and down arrows adjacent to it. Clicking on these arrows will move backwards or forwards one month at a time. Below these are displayed the days of the month allowing the user to click on the required date. To move more quickly, click on the month/year at the top of the dialog to display the months for the whole year instead of the days of the month. The current year will then be displayed at the top of the dialog, and the up and down arrows will move you backwards and forwards one year at a time. Click on the year at the top of the dialog to display 12 years in the dialog and use the arrows to move backwards and forwards 12 years at a time. At each level, making a selection will move the dialog back one level.

 

Alternatively, if allowed (see Allow Manual Entry property below), a user can type-in the date, in any of the following formats and Digitise Forms will convert it to the date format specified in the Element's Date Format property (see below):

 

Format

Examples

yyyy-mm-dd, yyyy/mm/dd

months and days can have optional leading zero

2018-1-3, 1964/01/03

yy-mm-dd, yy/mm/dd

months and days can have optional leading zero

18-1-3, 18/01/03

years will be prefixed with '20' so

88/01/03 represents 3rd January 2088

dd-mm-yyyy, dd/mm/yyyy

months and days can have optional leading zero

3-1-2018, 03/01/1964

dd-mm-yy, dd/mm/yy

months and days can have optional leading zero

3-1-18, 03/01/18

years will be prefixed with '20' so

03/01/88 represents 3rd January 2088

 

When inputting a date read-in from a Datasource, the date must be read from a DateTime field.

When outputting a date, the date will be output to the Datasource in the format specified in the Date Format property (see below).